/**
 * Copyright: Copyright (c)2015
 * Company: niuwap2p
 */
package com.niuwa.p2p.service.borrowinfomg.enterpriseinfomg;

import com.niuwa.p2p.entity.channel.Corporation;
import com.niuwa.p2p.entity.user.User;
import com.niuwa.p2p.vo.borrowinfomg.enterpriseinfomg.CorpBasicInfoVo;

/**
 * @author Jinchao
 * @date 2015年4月22日
 * @version 1.0
 */
public interface IEnterpriseBasicInfoMgService {

	/**
	 * @param cbiv
	 *            借款企业基本信息
	 * @return
	 * @throws Exception
	 */
	public String addNewCorpBasicInfo(CorpBasicInfoVo cbiv) throws Exception;

	/**
	 * 
	 * @param cbiv 借款企业基本信息
	 * @return
	 * @throws Exception
	 */
	public int updateEnterpirseInfo(CorpBasicInfoVo cbiv) throws Exception;
	

	/**
	 * @param corpName
	 */
	public Corporation getCorpByName(String corpName);
}
